package com.dms.modules.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;

@Data
@Builder
@ApiModel(description = "管理员登录响应")
public class AdminLoginResponse {
    @ApiModelProperty(value = "访问令牌")
    private String accessToken;
    
    @ApiModelProperty(value = "刷新令牌")
    private String refreshToken;
    
    @ApiModelProperty(value = "令牌类型")
    private String tokenType;
    
    @ApiModelProperty(value = "过期时间(秒)")
    private Long expiresIn;
    
    @ApiModelProperty(value = "管理员ID")
    private Long adminId;
    
    @ApiModelProperty(value = "用户名")
    private String username;
    
    @ApiModelProperty(value = "昵称")
    private String nickname;
    
    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phone;        
    
    @ApiModelProperty(value = "状态：0-禁用 1-正常")
    private Integer status;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;
} 